<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('用户 - 志愿者信息列表')" />
</head>
<body class="gray-bg">
<div class="container-div">
    <div class="row">
        <input type="hidden" id="id" name="position" th:value="${id}">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/cst_user";
    var id = $("#id").val();
    $(function() {
        var options = {
            url: prefix + "/IntegralLog/"+id,
            modalName: "用户 - 积分",
            columns: [{
                checkbox: true
            },
                {
                    field : 'eventCode',
                    title : '行为名称',
                },
                {
                    field : 'eventNote',
                    title : '行为描述'
                },
                {
                    field : 'scores',
                    title : '积分'
                },
                {
                    field : 'note',
                    title : '备注'
                },
                {
                    field : 'createAt',
                    title : '时间'
                },]
        };
        $.table.init(options);
    });

</script>
</body>
</html>